package com.qf.bean;

public class Product {
    private int id;
    private String  pno;
    private String  pname;
    private String  paddr;
    private String  pdate;
    private String  enterdate;
    private Integer pnumber;

    public Product() {
    }

    public Product(int id, String pno, String pname, String paddr, String pdate, String enterdate, Integer pnumber) {
        this.id = id;
        this.pno = pno;
        this.pname = pname;
        this.paddr = paddr;
        this.pdate = pdate;
        this.enterdate = enterdate;
        this.pnumber = pnumber;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPno() {
        return pno;
    }

    public void setPno(String pno) {
        this.pno = pno;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPaddr() {
        return paddr;
    }

    public void setPaddr(String paddr) {
        this.paddr = paddr;
    }

    public String getPdate() {
        return pdate;
    }

    public void setPdate(String pdate) {
        this.pdate = pdate;
    }

    public String getEnterdate() {
        return enterdate;
    }

    public void setEnterdate(String enterdate) {
        this.enterdate = enterdate;
    }

    public Integer getPnumber() {
        return pnumber;
    }

    public void setPnumber(Integer pnumber) {
        this.pnumber = pnumber;
    }

    @Override
    public String toString() {
        return "Product{" +
                "id=" + id +
                ", pno='" + pno + '\'' +
                ", pname='" + pname + '\'' +
                ", paddr='" + paddr + '\'' +
                ", pdate='" + pdate + '\'' +
                ", enterdate='" + enterdate + '\'' +
                ", pnumber=" + pnumber +
                '}';
    }
}
